package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.AuditFlowDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.respons.FlowDetailRs;
import com.xmy.cultivate.respons.FlowRs;

import java.util.List;

/**
 * <p>
 * 实例审批流程 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2025-01-01
 */
public interface IAuditFlowDetailService extends IService<AuditFlowDetail> {

    FlowDetailRs getFlowDetailBySourseId(Long sourseId);

    boolean sendRemind(Long claimId, Integer nowStep);

    AuditFlowDetail getNowStepFlowDetail(Long sourseId,
                                         Integer sourseVersionNum,
                                         Integer nowStepNum,
                                         Integer type);

    List<AuditFlowDetail> getCopyFlowDetailList(Long sourseId,
                                                Integer sourseVersionNum,
                                                Integer type,
                                                Integer isArrive);
}
